home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Vk / VkAlignmentGroup.z / VkAlignmentGroup
Encoding:
Text File  |  1998-10-20  |  10.0 KB  |  265 lines

  1.  
  2.  
  3.  
  4. VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp((((3333xxxx))))                                      VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp((((3333xxxx))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      VkAlignmentGroup - Support for aligning widgets by size or position
  10.  
  11. IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
  12.      VkWidgetList
  13.  
  14. HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
  15.      #include <Vk/VkAlignmentGroup.h>
  16.  
  17. PPPPUUUUBBBBLLLLIIIICCCC PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
  18.    CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr////DDDDeeeessssttttrrrruuuuccccttttoooorrrr
  19.            VkAlignmentGroup(void);
  20.            virtual void ~VkAlignmentGroup(void);
  21.  
  22.  
  23.    AAAAddddddddiiiinnnngggg IIIItttteeeemmmmssss
  24.            virtual void add(VkOptionMenu* menu);
  25.  
  26.  
  27.    AAAAlllliiiiggggnnnniiiinnnngggg IIIItttteeeemmmmssss BBBByyyy PPPPoooossssiiiittttiiiioooonnnn
  28.            void alignLeft(void);
  29.            void alignRight(void);
  30.            void alignTop(void);
  31.            void alignBottom(void);
  32.  
  33.  
  34.    AAAAlllliiiiggggnnnniiiinnnngggg SSSSiiiizzzzeeeessss
  35.            void alignWidth(void);
  36.            void alignHeight(void);
  37.            void makeNormal(void);
  38.  
  39.  
  40.    CCCCoooonnnnttttrrrroooolllllllliiiinnnngggg SSSSppppaaaacccciiiinnnngggg
  41.            void distributeVertical(void);
  42.            void distributeHorizontal(void);
  43.  
  44.    AAAAcccccccceeeessssssss FFFFuuuunnnnccccttttiiiioooonnnnssss
  45.            Dimension width(void);
  46.            Dimension height(void);
  47.            Position x(void);
  48.            Position y(void);
  49.  
  50.  
  51. PPPPRRRROOOOTTTTEEEECCCCTTTTEEEEDDDD PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
  52.    PPPPrrrrooootttteeeecccctttteeeedddd DDDDaaaattttaaaa MMMMeeeemmmmbbbbeeeerrrrssss
  53.            Dimension _maxWidth;
  54.            Dimension _maxHeight;
  55.            Position _x;
  56.            Position _y;
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp((((3333xxxx))))                                      VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp((((3333xxxx))))
  71.  
  72.  
  73.  
  74. CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  75.           The VkAlignmentGroup class provides support for aligning collections
  76.           of widgets with each other in various ways. To use, create an
  77.           instance of the VkAlignmentGroup class, add widgets or components
  78.           using the _a_d_d() member function inherited from VkWidgetGroup, and
  79.           then call _a_l_i_g_n_W_i_d_t_h(), _a_l_i_g_n_H_e_i_g_h_t(), or similar functions as
  80.           desired.
  81.  
  82.  
  83.  
  84. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
  85.    VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp(((())))
  86.            VkAlignmentGroup(void);
  87.  
  88.  
  89.           Initializes a VkAlignmentGroup object.
  90.  
  91.    ~~~~VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp(((())))
  92.            virtual void ~VkAlignmentGroup(void);
  93.  
  94.  
  95.           Frees the storage associated with a VkAlignmentGroup object. Does
  96.           not destroy the widgets or components contained by this object.
  97.  
  98.    aaaadddddddd(((())))
  99.            virtual void add(VkOptionMenu* menu);
  100.            virtual void add(Widget widget);
  101.            virtual void add(VkComponent component);
  102.  
  103.  
  104.           Adds widgets, components, or all the entries in a VkOptionMenu pane
  105.           to the group of widgets. Also see _V_k_W_i_d_g_e_t_L_i_s_t::_a_d_d().
  106.  
  107.    aaaalllliiiiggggnnnnLLLLeeeefffftttt(((())))
  108.            void alignLeft(void);
  109.  
  110.  
  111.           Reposition all widgets so that all left edges align with the left
  112.           edge of the right-most position occupied by any widget in the group.
  113.  
  114.    aaaalllliiiiggggnnnnRRRRiiiigggghhhhtttt(((())))
  115.            void alignRight(void);
  116.  
  117.  
  118.           Reposition all widgets so that the right side of each widget is
  119.           moved to align with the right edge of the right-most widget in the
  120.           group.
  121.  
  122.    aaaalllliiiiggggnnnnTTTToooopppp(((())))
  123.            void alignTop(void);
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp((((3333xxxx))))                                      VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp((((3333xxxx))))
  137.  
  138.  
  139.  
  140.           Reposition all widgets so that the top of each widget aligns with
  141.           the top edge of the bottom-most widget in the group.
  142.  
  143.    aaaalllliiiiggggnnnnBBBBoooottttttttoooommmm(((())))
  144.            void alignBottom(void);
  145.  
  146.  
  147.           Reposition all widgets so that the bottom of each widget aligns with
  148.           the bottom-most edge of any widget in the group.
  149.  
  150.    aaaalllliiiiggggnnnnWWWWiiiiddddtttthhhh(((())))
  151.            void alignWidth(void);
  152.  
  153.  
  154.           Change all widgets' widths to the width of the largest widget in the
  155.           group.
  156.  
  157.    aaaalllliiiiggggnnnnHHHHeeeeiiiigggghhhhtttt(((())))
  158.            void alignHeight(void);
  159.  
  160.  
  161.           Change all widgets' heights to the height of the largest widget in
  162.           the group.
  163.  
  164.    ddddiiiissssttttrrrriiiibbbbuuuutttteeeeVVVVeeeerrrrttttiiiiccccaaaallll(((())))
  165.            void distributeVertical(void);
  166.  
  167.  
  168.           Reposition all widgets so that they are positioned evenly in the
  169.           vertical direction, according to the spacing between widgets,
  170.           between the position of the first and last widgets in the group.
  171.  
  172.    ddddiiiissssttttrrrriiiibbbbuuuutttteeeeHHHHoooorrrriiiizzzzoooonnnnttttaaaallll(((())))
  173.            void distributeHorizontal(void);
  174.  
  175.  
  176.           Reposition all widgets so that they are positioned evenly in the
  177.           horizontal direction, according to the spacing between widgets,
  178.           between the position of the first and last widgets in the group.
  179.  
  180.    mmmmaaaakkkkeeeeNNNNoooorrrrmmmmaaaallll(((())))
  181.            void makeNormal(void);
  182.  
  183.  
  184.           Return all widgets to their desired widths and heights.
  185.  
  186.    wwwwiiiiddddtttthhhh(((())))
  187.            Dimension width(void);
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp((((3333xxxx))))                                      VVVVkkkkAAAAlllliiiiggggnnnnmmmmeeeennnnttttGGGGrrrroooouuuupppp((((3333xxxx))))
  203.  
  204.  
  205.  
  206.           Return the maximum width of all widgets in the group.  This function
  207.           is valid only after a call to one of the alignment functions.
  208.  
  209.    hhhheeeeiiiigggghhhhtttt(((())))
  210.            Dimension height(void);
  211.  
  212.  
  213.           Return the maximum height of all widgets in the group.  This
  214.           function is valid only after a call to one of the alignment
  215.           functions.
  216.  
  217.    xxxx(((())))
  218.            Position x(void);
  219.  
  220.  
  221.           Return the minimum x position of all widgets in the group. This
  222.           function is valid only after a call to one of the alignment
  223.           functions.
  224.  
  225.    yyyy(((())))
  226.            Position y(void);
  227.  
  228.  
  229.           Return the minimum y position of all widgets in the group.  This
  230.           function is valid only after a call to one of the alignment
  231.           functions.
  232.  
  233. IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
  234.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkWWWWiiiiddddggggeeeettttLLLLiiiisssstttt
  235.           widgetDestroyed(), remove(), removeFirst(), removeLast(), exists(),
  236.           size(), operator[]()
  237.  
  238.  
  239. CCCCLLLLAAAASSSSSSSSEEEESSSS UUUUSSSSEEEEDDDD BBBBYYYY TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
  240.      VkMenu, VkWidgetList
  241.  
  242. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  243.      VkMenu, VkWidgetList
  244.      _V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
  245.      _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
  246.      _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
  247.      _T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.